<% include ./inc/header.ejs %>
<div class="container">
  <div class="col-md-8">
  <% catData.forEach(function(item){%>
  <div class="media">
    <div class="media-body">
      <a href="/article/single/<%=item.id%>"><h4 class="media-heading"><%=item.title%></h4></a>
      <span><%=item.post_time%> 作者 <%=item.author%></span>
    </div>
  </div>
  <%})%>
  </div>
  <div class="col-md-4">
      <% include ./inc/right.ejs %>
  </div>
</div>
<% include ./inc/footer.ejs %>